/*
 * worker.h
 *
 *  Created on: Mar 2, 2013
 *      Author: RDU
 */

#ifndef WORKER_H_
#define WORKER_H_

#include "wx/wxprec.h"
#include "wx/thread.h"
#include "../GUI/myframe.h"

class WorkerThread:public wxThread
{
public:
	WorkerThread(MyFrame *pFrame);
	~WorkerThread();

	virtual void *Entry();
	virtual void OnExit();

public:
	MyFrame *m_pFrame;
	MyCamera *m_camera;
	bool m_bLife;

private:
	wxMutex *m_pMutex;
};


#endif /* WORKER_H_ */
